#pragma once

#include "../_inc_app/CtrlButton.h"

// CWndMenuButton

class CWndMenuButton : public CWnd
{
	DECLARE_DYNAMIC(CWndMenuButton)


private:
	CCtrlButton		m_btnPrint;
	CCtrlButton		m_btnSetup;
	CCtrlButton		m_btnRecord;
	CCtrlButton		m_btnInfo;
	CCtrlButton		m_btnOpen;
	CCtrlButton		m_btnDelete;

	CToolTipCtrl	m_ToolTipCtrl;
	CStringArray	m_sarrText;

	void LoadText();
public:
	CWndMenuButton();
	virtual ~CWndMenuButton();

protected:
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnSize(UINT nType, int cx, int cy);
	afx_msg long OnCtlMessage(UINT wParam, LONG lParam);
	DECLARE_MESSAGE_MAP()

public:	
	virtual BOOL PreTranslateMessage(MSG* pMsg);


	void SetPrintButtonStatus(BOOL bEnable);
	void SetBackupButtonStatus(BOOL bEnable);
	void SetDeleteButtonStatus(BOOL bEnable);

	void RefreshLang();

};


